package de.lehmann.sudoku.data;

@SuppressWarnings("unused") //TODO: Remove suppression of "unused" warnings from Pattern
/**
 * A representation of a single row, column or box
 * of Tiles
 * 
 */
public class Pattern {
	private int frameCounter;
	private Frame[] frames;
	
	public Pattern() {
		frameCounter = 0;
		frames = new Frame[Sheet.getActive().getSize()];
	}
	
	public void add(Frame frame) {
		if (frameCounter<frames.length) {
			frames[frameCounter] = frame;
			frameCounter++;
		}
		
		
	}
}
